cmake_minimum_required(VERSION 2.8.3)
project(pypubsub)

find_package(catkin REQUIRED )

## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
catkin_python_setup()

catkin_package()

catkin_install_python(
  PROGRAMS  
  scripts/pubsub
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY launch/
   DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
   FILES_MATCHING PATTERN "*.launch"
)

install(DIRECTORY ui/
   DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/ui
  #  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}/ui
   FILES_MATCHING 
   PATTERN "*.ui" 
   PATTERN "*.qml"
)


